{config_load file="index.conf"}
{include file="inc/doctype.tpl"}

<head>
    <title>My black list</title>
    {include file="inc/include.tpl"}
</head>

<body>

{include file="inc/logo.tpl"}
{include file="inc/global_menu.tpl"}

{include file="profile/inc/data.tpl"}<br />

<div><strong>My black list</strong></div>

<div>
{if sizeof($block_users)}
	{foreach from=$block_users item=item}
	    <a href="/another/index/{$item.user_id}/">{$item.user_login}</a>
	    {if time() - $item.user_last_visit > #online#}
	        (offline)
	    {else}
	        (online)
	    {/if}<br />
	{/foreach}<br />
	{include file="inc/paging.tpl"}
{else}
    <p>Empty</p>
{/if}
<div>

{include file="profile/inc/return.tpl"}

</body>

</html> 